This document has the following sections:
The Mime Types page allows you to add, edit, or delete suffix mappings. Suffix mappings are used to map file extensions to MIME types (a method for determining file formats), so that the JavaServer can determine the type and contents of any HTTP file request it receives. The JavaServer uses the suffix mappings to determine how to return data to the World Wide Web client making the request.
This page displays a list of predefined suffix mappings. If JavaServer
can't find a suffix mapping entry in this list, it uses the default MIME
type text/plain
. This means that the server uses the text
transfer method and assumes that it is returning plain text.
Extension
A list of possible extensions that could be attached to any file request.
For example, the .gif
extension indicates that the requested
file is of the type/subtype image/gif
(Graphics Image Format).
Note: For easier suffix mapping and fielding of requests, it is
possible to enter spelling variations for common extensions into the
Extension list. For example, you could enter both gif
and
giff
into the list as variations of the type/subtype
image/gif
. This way, the JavaServer will properly service
requests for the file type even if the requesting suffix is misspelled.
Type/Subtype
A list of file types recognized by the JavaServer. The Type part of the
pair indicates the generic file category possible to be served by the
JavaServer, for example, audio, application, image, etc. The Subtype
part of the pair indicates the exact file extension for that generic
category.
To Remove a Suffix Mapping:
To Modify a Suffix Mapping:
Note: If you Add, Modify, or Remove a mime type, you must Save before the changes take affect.